package com.hbx.dto.resource;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/*
 * @Author:hbx
 * 
 * */
@Data
public class RecycleDto {

    @ApiModelProperty(value = "资源id")
    @NotNull(message = "文件id为必传项")
    private Integer mainId;

    @ApiModelProperty(value = "删除类型")
    @NotBlank(message = "删除类型为必传项")
    private String removeType;

    @ApiModelProperty(value = "删除原因")
    @NotBlank(message = "删除原因为必传项")
    private String removeWhy;

    @ApiModelProperty(value = "文件类型")
    @NotNull(message = "文件类型为必传项")
    private Integer fileType;
}
